<%@ page pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://www.ld.com/shield/tags" prefix="shield" %>
<div class="contentBody show-info">
    <div style="margin-bottom: 10px">
        <input class="button" type="button" id="addCondition" value="添加条件"/>
        <!--  默认不使用分组，使用分组对个人使用要求比较高，如果懂sql语句，可以开启此分组功能-->
   <input class="button" type="button" id="useGrouping" value="使用分组"/>
        <input class="button" type="button" id="determineConditions" value="查询"/>
    </div>

    <%--条件表格--%>
    <table class="tab-show" id="condition"></table>

    <%--条件模版--%>
    <table class="tab-show ignore" id="conditionTemplate" style="display: none">
        <tr>
            <%--左括号(用于分组)--%>
            <td class="taCenter grouping">
                <select name="leftParenthesis" class="leftParenthesis noshield">
                    <option value="0">请选择</option>
                    <option value="1">(</option>
                </select>
            </td>
            <%--条件项--%>
            <td class="taCenter">
                <select   style="height: 23px" class="conditionItem noshield">
                    <option value="">请选择</option>
                </select>
            </td>
            <%--符号--%>
            <td class="taCenter">
                <select style="height: 23px" class="mark noshield">
                    <option value="">请选择</option>
                </select>
            </td>
            <%--类似 equal_xxx--%>
            <td style="display: none">
                <input type="text" class="markConditionItem" name="markConditionItem">
            </td>
            <%--值--%>
            <td class="taCenter conditionValues"  ></td>
            <%--右括号(用于分组)--%>
            <td class="taCenter grouping">
                <select name="rightParenthesis" style="height: 23px" class="rightParenthesis noshield">
                    <option value="0">请选择</option>
                    <option value="1">)</option>
                </select>
            </td>
            <%--关系--%>
            <td class="taCenter">
                <select name="relationship" style="height: 23px" class="relationship">
                    <option value="0">并且</option>
                    <option value="1">或者</option>
                </select>
            </td>
            <td class="taCenter">
                <input type="button" value="删除" id="delCondition">
            </td>
        </tr>
    </table>

</div>